package com.baidu.app.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baidu.app.dao.AppDao;
import com.baidu.pro.bean.Cart;
import com.baidu.pro.bean.Order;
import com.baidu.pro.bean.OrderItem;
import com.baidu.user.bean.App;

@Service
public class AppService {

	@Autowired
	private AppDao dao;

	public App getAppById(String id) {
		
		return dao.getAppById(id);
	}

	public void addOrde(Order orde) {
		
		dao.addOrde(orde);
	}

	public void addOrderItem(OrderItem orderItem) {
		
		dao.addOrderItem(orderItem);
	}




}
